package com.aisile.wemedia.mapper;

import com.aisile.model.media.pojos.WmNewsMaterial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther:yry
 * @Date:2024/1/6 0006
 * @VERSON:1.0
 */
@Mapper
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {

    public void saveGuanxiForMaterialIds(@Param("mateIds") List<Integer> mateIds,
                                         @Param("newsId") Integer newsId,
                                         @Param("type") Integer type);

}
